package org.example.booksystem.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/t1")
    public int t1(){
        return 1/0 ;
    }

    @RequestMapping("/t2")
    public boolean t2(){
         String a = null ;
         a.length();
        return true ;
    }
    @RequestMapping("/t3")
    public String t3(){
        return "t3";
    }

}
